package com.lhd.action.strategy;

/**
 * @Author: liuhd
 * @Date: 2024/12/16 23:20
 * @Description:
 */
public class Client {
    public static void main(String[] args) {
        Context context = new Context();
        context.setStrategy(new StrategyA());
        context.invoke();

        context.setStrategy(new StrategyB());
        context.invoke();
    }
}
